DrawLines(PointF[],Color,Single,DashStyle) Method
In This Topic
Draws a series of connected lines, using a specified line color, width and style.
If the value of lineStyle parameter is not DashStyle.Solid, the lines are drawn with a Pen having Pen.LineCap set to PenLineCap.Square instead of PenLineCap.Flat.
Syntax
'Declaration
Public Overloads Sub DrawLines( _
ByVal () As System.Drawing.PointF, _
ByVal As System.Drawing.Color, _
ByVal As System.Single, _
Optional ByVal As DashStyle _
)
public void DrawLines(
System.Drawing.PointF[] ,
System.Drawing.Color ,
System.float ,
DashStyle
)
Parameters
- points
- The array of points to connect.
- lineColor
- The line color.
- lineWidth
- The line width.
- lineStyle
- The line style (solid by default).
See Also